From 38801f4b649f454ec6fb86494c7c308d77f98c9b Mon Sep 17 00:00:00 2001 From: robertl Date: Fri, 21 May 2010 15:07:33 +0000 Subject: [PATCH] C89 tweak. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@3947 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/csv_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/csv_util.c b/gpsbabel/csv_util.c index d68bb9986..2dc6d1e26 100644 --- a/gpsbabel/csv_util.c +++ b/gpsbabel/csv_util.c @@ -1727,9 +1727,9 @@ xcsv_waypt_pr(const waypoint *wpt) writebuff(buff, fmp->printfc, utmzc); break; case XT_UTM_ZONEF: { + char tbuf[10]; GPS_Math_WGS84_To_UTM_EN(wpt->latitude, wpt->longitude, &utme, &utmn, &utmz, &utmzc); - char tbuf[10]; tbuf[0] = 0; snprintf(tbuf, sizeof(tbuf), "%d%c", utmz, utmzc); writebuff(buff, fmp->printfc, tbuf); -- 2.30.2